-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added test for JSON marshalling for Reaction and Reactions - relates to (#55) #1324
added test for JSON marshalling for Reaction and Reactions - relates to (#55) #1324
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1324 +/- ##
=======================================
Coverage 73.45% 73.45%
=======================================
Files 86 86
Lines 6061 6061
=======================================
Hits 4452 4452
Misses 838 838
Partials 771 771 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @thomaslanghorst!
Please make a couple minor tweaks and then we can merge.
github/reactions_test.go
Outdated
@@ -12,6 +12,53 @@ import ( | |||
"testing" | |||
) | |||
|
|||
func TestReaction_marshall(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's please name this: TestReaction_Marshal
(one 'el', capital 'M').
github/reactions_test.go
Outdated
testJSONMarshal(t, r, want) | ||
} | ||
|
||
func TestReactions_marshall(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, please.
@gmlewis Thanks for pointing these out. I made the requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @thomaslanghorst!
LGTM.
Merging.
This PR relates to (#55) and adds a test for the Reaction and Reactions resources.